#include "StaticData.h"
#include "LivingEntity.h"
#include "PlayerEntity.h"
#include "ItemHealth.h"

namespace Data
{
    void populateEntities(FactoryEntity* entities)
    {
        PlayerEntity* player = new PlayerEntity;
        LivingEntity* zombie = new LivingEntity;
        ItemHealth* heart = new ItemHealth;

        player->setMaxHP(100)->setMass(1.0f)->setAABB(1.625f,2.625f)->setSprite("player.png");
        zombie->setMaxHP(10)->setDamages(10)->setMass(1.0f)->setAABB(1.625f,2.625f)->setSprite("zombie.png");
        heart->setHealthRegen(25)->setUseOnPickup(true)->setAABB(1,1)->setSprite("heart.png");

        entities->add("player", player);
        entities->add("zombie", zombie);
        entities->add("heart", heart);

    }
}
